package com.qst0916_3.entity;

import org.springframework.stereotype.Component;

@Component
public class User {
    private int id;
    private String userName;
    private String usePsw;

    public User() {
    }

    public User(int id, String userName, String usePsw) {
        this.id = id;
        this.userName = userName;
        this.usePsw = usePsw;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUsePsw() {
        return usePsw;
    }

    public void setUsePsw(String usePsw) {
        this.usePsw = usePsw;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", usePsw='" + usePsw + '\'' +
                '}';
    }
}
